Static Type Determination for C++
نویسندگان
چکیده
Static type determination involves compile time calculation of the type of object a pointer may point to at a particular program point during some execution. We show that the problem of precise interprocedural type determination is NP-hard in the presence of inheritance, virtual methods and pointers. We highlight the signi cance of type determination in improving code e ciency and precision of other static analyses. We present a safe, approximate algorithm for C ++ programs with single level pointers, using the conditional analysis technique [LR91]. We discuss the generalization of our approach to analyze programs with multiple levels of pointer dereferencing.
منابع مشابه
Evaluation of Static and Dynamic Methods for Determining the Bearing Capacity of the Driven Pipe Piles (TECHNICAL NOTE)
Determination of the pile capacity is always a major concern for the safe geotechnical engineering design. Different direct and indirect methods have been proposed for determining pile bearing capacity such as static and dynamic approaches. Each method depends on the condition of the soil and type of pile as well as accessibility to necessary information. In this study bearing capacity of drive...
متن کاملDetermination of diazinon LC50 in grass carp (Cetenopharyngodon idella) and the effect of sublethal concentration of toxin on some hematological and biochemical indices
Toxicity of the organophosphate, diazinon was studied in grass carp (Cetenopharyngodon idella) weighing 5±1.0g, under static water quality condition at 16°C. Also, some hematological and biochemical variables of fish weighing 50±5.0g were studied 12 hours post-exposing fish to the toxicant at sublethal concentration of 5.6mg/L at 16°C. Values of 18.19, 17.21, 16.68, and 15.13mg/L, were obtained...
متن کاملMULTI-OBJECTIVE MATHEMATICAL MODELING OF AIRCRAFT LANDING PROBLEM ON A RUNWAY IN STATIC MODE, SCHEDULING AND SEQUENCE DETERMINATION USING NSGA-II
Runway length is usually a critical point in an airport system so, a great interest has been created for optimal use of this runway length. The most important factors in modeling of aircraft landing problem are time and cost while, the costs imposed on the system because of moving away from target times have different performances in terms of impact. In this paper, firstly, aircraft landing pro...
متن کاملDiagnosis of brain tumor using image processing and determination of its type with RVM neural networks
Typically, the diagnosis of a tumor is done through surgical sampling, which is more precise with existing methods. The difference is that this is an aggressive, time consuming and expensive way. In the statistical method, due to the complexity of the brain tissues and the similarity between the cancerous cells and the natural tissues, even a radiologist or an expert physician may also be in er...
متن کاملDetermination of Serologic and Molecular Prevalence of Hepatitis Type B, C, and G Infections in Patients with Hematological Malignancy in the South of Fars Province, Iran
Background & Objectives: Hepatitis type G virus (HGV) is a flavivirus with RNA genome which has high nucleotide and amino acid similarity with HCV. HGV can infect blood lymphocytes for long period and may have role in inducing or complicating the clinical outcomes in patients with hematological malignancies. Therefore in this study the prevalence of HGV, HCV, and HBV infections were evaluated i...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994